package com.hdax.dm.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hdax.dm.dto.ScheduleDto;
import com.hdax.dm.entity.scheduler.DmSchedulerSeat;
import com.hdax.dm.utils.response.CommonResponse;

import java.util.List;
import java.util.Map;

public interface SeatService extends IService<DmSchedulerSeat> {


    List<ScheduleDto.SeatInfoDto> seatInfo(Long scheduleId);

    CommonResponse<Map<String,List<String>>> getSeatList(Long cinemaId,Long scheduleId);

    DmSchedulerSeat seats(Long scheduleId,Long x,Long y);

    Integer seatUpdate(List<DmSchedulerSeat> seat);

    Boolean ishaveSeatUpdate(Long status,String orderNo);
}
